/*
 * @Author: wuyuxin
 * @Date: 2022-01-10 15:57:21
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-01-10 15:57:21
 * @Description: 
 */
import serve from 'rollup-plugin-serve'
// rollup 可以帮我们打包 es6模块化语法
export default {
    input:'./src/single-spa.js',
    output:{
        file:'./lib/umd/single-spa.js',
        format:"umd",
        name:'singleSpa',
        sourcemap:true
    },
    plugins:[
        serve({
            openPage:'/index.html',
            contentBase:'',
            port:3000
        })
    ]
}